﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Indochinaodyssey.UserControl.Search
{
    public partial class SearchResults : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["Price"] == "1")
            {
                
                DataList1.DataSource = SqlDataSourceSearch2;
                DataList1.DataBind();
            }
            else {
                DataList1.DataSource = SqlDataSourceSearch;
                DataList1.DataBind();
            }
        }
    }
}